package mapper;

import com.yh.javabean.User;

import java.util.ArrayList;
import java.util.HashMap;

public interface UserDao {
    ArrayList<User>  selectAllUser();
    User selectById(int id);
    User selectByIdandName(int id,String name);
    User selectByUser(User user);
    ArrayList<User> selectByArray(int[] ids);
    ArrayList<User> selectBylist(ArrayList<Integer> ids);
    User selectByMap(HashMap<String,Object> map);
}
